-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EL 6.0 new tests #1217
EL 6.0 new tests #1217
Conversation
BareBonesELContext barebonesContext = new BareBonesELContext(); | ||
ELContext context = barebonesContext.getELContext(); | ||
|
||
pass = ResolverTest.testELResolver(context, arrayResolver, colors, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get below exception when run with Glassfish8
java.lang.Exception: java.lang.NumberFormatException: For input string: "length"
at com.sun.ts.tests.el.api.jakarta_el.arrayelresolver.ELClientIT.arrayELResolverLengthTest(ELClientIT.java:333)
Caused by: java.lang.NumberFormatException: For input string: "length"
at com.sun.ts.tests.el.api.jakarta_el.arrayelresolver.ELClientIT.arrayELResolverLengthTest(ELClientIT.java:330)
Glassfish may need an EL API update. I'm working on a 6.0.0-M2 now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All tests except arrayELResolverLengthTest pass with Glassfish8-M1. Will retest when EL 6.0.0-M2 is integrated with glassfish.
EL 6.0.0-M2 is now available on Maven Central |
I was trying EL 6.0.0-M2 with Glassfish. arrayELResolverLengthTest passed.
|
I'll look into that. It was passing for me locally with Tomcat. |
It turns out the test passed when the java version is 21, fails in JDK 17. |
Thanks. That is a useful data point. I will look at this but if it is a Java 17 / Java 21 issue then that puts it a lot lower down my priority list. |
getFeatureDescriptors() was remove in EL 6.0
All tests passed against Glassfish with latest commits. Thanks. |
Fixes Issue
New tests for functionality added in EL 6.0
Related Issue(s)
None.
Describe the change
ArrayELResiolver
tests extended to include newlength
propertyRecordELResolver
OptionalELResolver
There are also some clean-up commits (no functional changes) to the touched classes to fix various IDE warnings.
Additional context
None.
CC @alwin-joseph @anajosep @arjantijms @cesarhernandezgt @dblevins @m0mus @edbratt @gurunrao @jansupol @jgallimore @kazumura @kwsutter @LanceAndersen @bhatpmk @RohitKumarJain @shighbar @gthoman @brideck @OndroMih @dmatej
@starksm64 @scottmarlow